package club.kittybunny.getjobsysbackend.vo;

import club.kittybunny.getjobsysbackend.entity.JobType;

/**
 * @Author: bunny
 * @Description: 我是兔子我会喵，我叫喵星兔
 */
public class JobTypeVO {
    private Integer id;
    private String name;
    //private Integer serno;
    public JobTypeVO create(JobType jobType) {
        this.id = jobType.getId();
        this.name = jobType.getName();
        //this.serno = jobType.getSerno();
        return this;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

   /* public Integer getSerno() {
        return serno;
    }

    public void setSerno(Integer serno) {
        this.serno = serno;
    }*/
}
